﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace KinonekoSoftware.Studio.Resources.Controls
{
    public class MetroContentControl : HeaderedContentControl
    {
        static MetroContentControl()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(MetroContentControl), new FrameworkPropertyMetadata(typeof(MetroContentControl)));
        }


        public static readonly DependencyProperty HeaderBrushProperty = DependencyProperty.Register(
            nameof(HeaderBrush),
            typeof(Brush),
            typeof(MetroContentControl),
            new PropertyMetadata(default(Brush)));


        public static readonly DependencyProperty HeaderTextBrushProperty = DependencyProperty.Register(
            nameof(HeaderTextBrush),
            typeof(Brush),
            typeof(MetroContentControl),
            new PropertyMetadata(default(Brush)));

        public Brush HeaderTextBrush
        {
            get => (Brush)GetValue(HeaderTextBrushProperty);
            set => SetValue(HeaderTextBrushProperty, value);
        }
        
        public Brush HeaderBrush
        {
            get => (Brush)GetValue(HeaderBrushProperty);
            set => SetValue(HeaderBrushProperty, value);
        }
    }
}